public class level {
    public static void main(String[] args) {
        int score = 88;
        char level;
        if (score > 90){
            level = 'A';
        }
        else if (score<=90&&score>=80){
            level = 'B';
        }
        else {
            level ='C';
        }
        System.out.printf("成绩等级%c%n",level);
    }
}
